<template>
  <div class="dialog">
    <div class="dialog__mask"></div>
    <div class="dialog__container">
      <div class="dialog__header"></div>
      <div class="dialog__body"></div>
      <div class="dialog__footer"></div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Dialog",
};
</script>

<style scoped>
.dialog {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.dialog__mask {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.dialog__container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 150px;
  transform: translate(-50%, -50%);
  /* margin-top: -75px; */
  /* margin-left: -150px; */
  border-radius: 15px;
  background-color: #fff;
}
</style>
